<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<fmt:setLocale value="pt-BR" />
<c:set var="contexto" scope="session" value="${pageContext.request.contextPath}"/>
<html>
  <head>
    <title>Pedidos anteriores</title>
    <link rel="stylesheet" href="${contexto}/css/estilo.css" type="text/css"/>
  </head>
  <body id="centro">
    <h1>Pedidos anteriores</h1>
    <%@include file="/include/fazerlogin.jsp" %>
    <display:table id="item" name="pedidos" requestURI="detalhar_pedido.do">
      <display:column property="id" title="Pedido"/>
      <display:column property="status" title="Status"/>
      <display:column property="total" format="R$ {0, number, #,##0.00}" title="Total" style="text-align:right"/>
      <display:column value="Detalhar" href="detalhar.do" paramId="id" paramProperty="id"/>
    </display:table>
  </body>
</html>